home *** CD-ROM | disk | FTP | other *** search
- Path: news.NetVision.net.il!news
- From: nir@netvision.net.il (Nir Sofer)
- Newsgroups: comp.lang.c++
- Subject: malloc() function and new operator
- Date: Mon, 08 Apr 1996 19:07:30 GMT
- Organization: NetVision LTD.
- Message-ID: <4kbo18$t1s@news.NetVision.net.il>
- NNTP-Posting-Host: ts023p10.pop3a.netvision.net.il
- X-Newsreader: Forte Free Agent 1.0.82
-
- I use in my C/C++ programs both malloc() function and new operator.
- i use new and delete operators for objects and malloc() and free()
- functions for allocating strings and other variables.
-
- i compile my programs with Borland C++ 4.0
- it works fine, but i want to be sure that i'm not doing something
- wrong that will cause troubles in the future.
-
- Is it o.k to use both of them in the same program ?
-
- Nir Sofer
- nir@netvision.net.il
-
-
-
-
-
-
-